<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>proxy</title>
    <script type="text/javascript">
        //获取到要传的值
        var data = location.search.split("=")[1];
        //如果有中文
        data = decodeURI(data);
        top.windowMessage(data)   //重点在这里,同域下的窗口之间的调用就灵活多了
    </script>
</head>
<body>
</body>
</html>
